package com.fly.feishu.domain.service;

import com.fly.feishu.domain.service.common.BaseService;
import com.fly.feishu.infrastructure.persistent.po.Department;
import com.fly.feishu.infrastructure.persistent.po.EmpDept;

import java.util.List;

public interface EmpDeptServcie extends BaseService<EmpDept> {
    /**
     * 根据员工ID获取部门
     * @param empId
     * @return
     */
    List<Department> getDeptByEmpId(Long empId);
}
